package com.kingyun.gpsinspection.purificationservice.dao.mapper.iam.adm;


import com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm.Comment;

import java.util.List;

public interface CommentMapper {
    int deleteByPrimaryKey(String commentId);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(String commentId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);
    /**
     * 查询评论数量
     * @param comment
     * @return
     */
    int queryCount(Comment comment);

    /**
     * 评论列表
     * @param comment
     * @return
     */
    List<Comment> queryList(Comment comment);
}